<link rel="stylesheet" type="text/css" href="{$smarty.const.THEME_RELATIVE}modules/mailinglistmodule/css/mailinglist.css" />

<div class="moduletable" style="background: url('{$smarty.const.THEME_RELATIVE}modules/mailinglistmodule/images/mail.png') no-repeat; height: 120px;">
{if $moduletitle}<h3 style="margin-left: 75px; padding-top: 05px; padding-bottom: 10px;">{$moduletitle}</h3>{/if}
	<form id="ml_form" action="index.php" method=post>
		<input type=hidden name="action" value="add_new">
		<input type=hidden name="module" value="mailinglistmodule">
		<input id="ml_text" type=text name="email" class="control"  value="{$_TR.first_email}" style="width: 142px; margin-left: 70px; height: 20px; font-size: 11px; ">
		<input type=image  class="mailinglistmodule_button" src="{$smarty.const.THEME_RELATIVE}modules/mailinglistmodule/images/add_button.png">
	</form>
	{permissions level=$smarty.const.UILEVEL_PERMISSIONS}
	{if $permissions.administrate == 1 || $permissions.mail == 1}
		<a style="margin-left: 15px; margin-top: 15px;" href="{link action=send_mailinglist module=mailinglistmodule}">Send Mailing-list</a>
	{/if}
	{if $permissions.administrate == 1}
		&nbsp;&nbsp;<a  href="{link action=manage_email module=mailinglistmodule}">Manage Emails</a>
	{/if}
	{/permissions}
</div>
<script src="{$smarty.const.THEME_RELATIVE}modules/mailinglistmodule/js/mailinglist.js" type="text/javascript"></script>
